#!/bin/bash

# Global definition for SDK GNU build tools
export LVQM_ROOT=$(pwd)

export XC01_ARM_GNUC_BIN_PATH=$LVQM_ROOT/../tools/toolchain/arm-fhv512-linux
export XC01_ARC_GNUC_BIN_PATH=$LVQM_ROOT/../tools/toolchain/arc-fullhan-elf32

export PATH=$XC01_ARM_GNUC_BIN_PATH/bin:$XC01_ARC_GNUC_BIN_PATH/bin:$PATH

export LD_LIBRARY_PATH=$XC01_ARM_GNUC_BIN_PATH/lib:$XC01_ARC_GNUC_BIN_PATH/lib:$LD_LIBRARY_PATH

#BUILD_NUMBER
# format $BUILD_NUMBER
export BUILD_NUMBER=$(printf "%04d" "${BUILD_NUMBER}")

source ./.config.env